package com.lf.web.service.login;

import com.lf.data.*;
import com.lf.web.service.system.user.User;

/**
 * Created by 严秋旺 on 2015/1/18.
 */
public class Login extends Cluster {
    @Key(keyType = KeyType.MapKey, valueType = ValueType.String, check = "^[\\w\\d]{3,20}$")
    public static final String USER_NAME = User.USER_NAME;
    @Key(keyType = KeyType.MapKey, valueType = ValueType.String, check = Validate.MD5)
    public static final String PASSWORD = User.PASSWORD;
    @Key(keyType = KeyType.MapKey, valueType = ValueType.String, check = Validate.REGEX_CAPTCHA)
    public static final String CAPTCHA = "captcha";
}
